<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>商城用户管理</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/Public/admin/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/Public/admin/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="/Public/admin/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="/Public/admin/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/Public/admin/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/Public/admin/assets/css/app.css">
    <script src="/Public/admin/assets/js/jquery.min.js"></script>

</head>

<body data-type="widgets">
    <script src="/Public/admin/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <include file="./Application/Admin/View/Share/header.html"/>
        <include file="./Application/Admin/View/Share/left.html"/>

        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">

            <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 商城用户管理 <small></small></div>
                        <p class="page-header-description">可以查看商城用户的基本信息。</p>
                    </div>
            
                </div>

            </div>

            <div class="row-content am-cf">


                        <div class="row">
                                      <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                                                    <div class="widget am-cf">
                                                                <div class="widget-head am-cf">
                                                                    <div class="widget-title am-fl">商城用户基本信息表</div>
                                                                    <div class="widget-function am-fr">
                                                                        
                                                                    </div>
                                                                </div>
                                                                <div class="widget-body  widget-body-lg am-fr">
                                                                    <div class="am-scrollable-horizontal ">
                                                                        <table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black " id="example-r">
                                                                            <thead>
                                                                                <tr>
                                                                                    <th>用户编号</th>
                                                                                    <th>用户昵称</th>
                                                                                    <th>用户头像</th>
                                                                                    <th>用户邮箱</th>
                                                                                    <th>电话号码</th>
                                                                                    <th>注册时间</th>
                                                                                    <th>操作</th>
                                                                                </tr>
                                                                            </thead>
                                                                            <tbody id="userdata-box">
                                                                                          

                                                                            </tbody>
                                                                        </table>
                                                                    </div>

                                                                </div>
                                                    </div>
                                      </div>




                
                         </div>

                

            </div>
        </div>
    </div>
    </div>
<script type="text/html" id="user-list-tpl">
<%for(var i =0 ; i < data.length ; i++){%>
             <tr class="gradeX">
                          <td><%=data[i].id%></td>
                          <td><%=data[i].username%></td>
                          <td><img src="<%=data[i].headimg%>" style="width: 50px"> </td>
                          <td><%=data[i].email%></td>
                          <td><%=data[i].telephone%></td>
                          <td><%=dateFormate(data[i].addtime)%></td>
                          <td>
                                       <div class="tpl-table-black-operation">
                                            <a href="javascript:;">
                                                <i class="am-icon-pencil"></i> 详细信息
                                            </a>
                                            <a href="javascript:;" class="tpl-table-black-operation-del">
                                                <i class="am-icon-trash"></i> 删除
                                            </a>
                                       </div>
                          </td>
             </tr>
<%}%>
</script>
<script src="/Public/admin/assets/js/amazeui.min.js"></script>
<script src="/Public/admin/assets/js/amazeui.datatables.min.js"></script>
<script src="/Public/admin/assets/js/dataTables.responsive.min.js"></script>
<script src="/Public/admin/assets/js/app.js"></script>
<script src="/Public/js/Share/template.js"></script>
<script src="/Public/js/Admin/manageuser.js"></script>
<script >
            MANAGEUSER.run();
</script>
</body>

</html>